﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Menu.aspx.cs" Inherits="BOMS.WebUI.Menu" %>
<%@ Import Namespace="BOMS.WebUI.Web" %>
<html xmlns="http://www.w3.org/1999/xhtml" >
<head id="Head1" runat="server">
<title>SysLeftMenu</title>
<script src="Js/Main.js" type="text/javascript"></script>
<script src="Js/Jquery.js" type="text/javascript"></script>
<script type ="text/javascript">
loadCss(top._skinId,'Page.css');
$(document).ready(function () {
    setInterval("startRequest()",<%=Common.RefreshIntev%>);
     //setInterval("startRequest()",2000);
});
function startRequest() {
    //$("#wincetree").load(location.href + " #wincetree>*", "" + Math.random() + "");
    $('#<%=BtnRefresh.ClientID %>')[0].click();
    CollectGarbage();
    setTimeout("CollectGarbage();", 1);
}
</script>
</head>
<body>
<form id="workfieldhost" runat="server">
    <asp:ScriptManager runat="server" ID="ScriptManager1"></asp:ScriptManager>

   <%-- <div id="wincetree">--%>
        <asp:UpdatePanel runat="server" ID="udp1" RenderMode="Inline">
            <ContentTemplate>
            
                    <asp:TreeView ID="tvWince" runat="server" ShowLines="True" ExpandDepth="10" 
                        NodeIndent="15" NodeStyle-ImageUrl="Images/zj.gif"
                        RootNodeStyle-ImageUrl="Images/jd.gif" Font-Size="14px" Visible="False">
                        <Nodes>
                           <%-- <asp:TreeNode Text="本地机房" Value="本地机房" NavigateUrl="javascript:top.myTab.Cts('本地机房','Web/RealStatus/groupPage.aspx',true)"></asp:TreeNode>--%>
                        </Nodes>
                    </asp:TreeView> 
           
                <asp:Button runat="server" ID="BtnRefresh" Text="" style="display:none;" OnClick="BtnRefresh_RefreshWinceTree" />
            </ContentTemplate>
        </asp:UpdatePanel>
    <%-- </div>--%>
    <asp:TreeView ID="tvPowerControl" runat="server" ShowLines="True" ExpandDepth="1" 
        NodeIndent="15" NodeStyle-ImageUrl="Images/js.gif"
        RootNodeStyle-ImageUrl="Images/pc.gif" Font-Size="14px" Visible="False">
        <Nodes>
            <asp:TreeNode Text="停发电调度" Value="停发电调度" SelectAction="None">
                <asp:TreeNode Text="停发电管理" NavigateUrl="javascript:top.myTab.Cts('停发电管理','Web/PowerControl/PowerDownState.aspx',true)" Value="停发电管理"></asp:TreeNode>
                <asp:TreeNode Text="停发电查询" NavigateUrl="javascript:top.myTab.Cts('停发电查询','Web/PowerControl/PowerDownHistory.aspx',true)" Value="停发电查询"></asp:TreeNode>
                <asp:TreeNode Text="停发电分析" NavigateUrl="" Value="停发电分析"></asp:TreeNode>
            </asp:TreeNode>
        </Nodes>
    </asp:TreeView>
    <asp:TreeView ID="tvBatgrpPM" runat="server" ShowLines="True" ExpandDepth="1" 
        NodeIndent="15" NodeStyle-ImageUrl="Images/js.gif"
        RootNodeStyle-ImageUrl="Images/bat.gif" Font-Size="14px" Visible="False">
        <Nodes>
            <asp:TreeNode Text="电池组容量管理" Value="电池组容量管理" SelectAction="None">
                <asp:TreeNode Text="核对性放电管理" NavigateUrl="javascript:top.myTab.Cts('核对性放电管理','Web/BatGrpPM/DischargeControl.aspx',true)" Value="核对性放电管理"></asp:TreeNode>
                <asp:TreeNode Text="核对性放电查询" NavigateUrl="javascript:top.myTab.Cts('核对性放电查询','Web/BatGrpPM/DischargeSearch.aspx',true)" Value="核对性放电查询"></asp:TreeNode>
            </asp:TreeNode>
        </Nodes>
    </asp:TreeView>
    <asp:TreeView ID="tvWarning" runat="server" ShowLines="True" ExpandDepth="1" 
        NodeIndent="15" NodeStyle-ImageUrl="Images/wa.gif"
        RootNodeStyle-ImageUrl="Images/jb.gif" Font-Size="14px" Visible="False">
        <Nodes>
            <asp:TreeNode Text="报警中心" Value="报警中心" SelectAction="None">
                <asp:TreeNode Text="报 警 台" NavigateUrl="javascript:top.myTab.Cts('报 警 台','Web/Warning/WarningPage.aspx',true)" Value="报 警 台"></asp:TreeNode>
                <asp:TreeNode Text="报警统计" NavigateUrl="javascript:top.myTab.Cts('报警统计','Web/Warning/warningStat.aspx',true)" Value="报警统计"></asp:TreeNode>
            </asp:TreeNode>
        </Nodes>
    </asp:TreeView>
    <asp:TreeView ID="tvData" runat="server" ShowLines="True" ExpandDepth="1" 
        NodeIndent="15" NodeStyle-ImageUrl="Images/tx.gif"
        RootNodeStyle-ImageUrl="Images/fx.gif" Font-Size="14px" Visible="False">
        <Nodes>
            <asp:TreeNode Text="数据分析" Value="数据分析" SelectAction="None">
                <asp:TreeNode Text="电池单体分析" NavigateUrl="javascript:top.myTab.Cts('电池单体分析','Web/DataAnalyse/singleHistory.aspx',true)" Value="电池单体分析"></asp:TreeNode>
                <asp:TreeNode Text="电池组分析" NavigateUrl="javascript:top.myTab.Cts('电池组分析','Web/DataAnalyse/groupHistory.aspx',true)" Value="电池组分析"></asp:TreeNode>
            </asp:TreeNode>
        </Nodes>
    </asp:TreeView>
    <asp:TreeView ID="tvSystem" runat="server" ShowLines="True" ExpandDepth="1" 
        NodeIndent="15" NodeStyle-ImageUrl="Images/sz.gif"
        RootNodeStyle-ImageUrl="Images/xt.gif" Font-Size="14px" Visible="False">
        <Nodes>
            <asp:TreeNode Text="系统设置" Value="系统设置" SelectAction="None">
                <asp:TreeNode Text="用户管理" NavigateUrl="javascript:top.myTab.Cts('用户管理','sysUserManage.aspx',true)" Value="用户管理"></asp:TreeNode>
                <asp:TreeNode Text="系统参数" NavigateUrl="javascript:top.myTab.Cts('系统参数','sysParameterSetting.aspx',true)" Value="系统参数"></asp:TreeNode>
                <asp:TreeNode Text="主机管理" NavigateUrl="javascript:top.myTab.Cts('主机管理','sysWinceName.aspx',true)" Value="主机名称"></asp:TreeNode>
                <asp:TreeNode Text="数据导入" NavigateUrl="javascript:top.myTab.Cts('数据导入','Web/WebTool/ImportTextData.aspx',true)" Value="数据导入"></asp:TreeNode>
            </asp:TreeNode>
        </Nodes>
    </asp:TreeView>
</form>
</body>
</html>
